<?php

class purchase_ctl_admin_sendax extends desktop_controller
{
    function sendAX()
    {
        try {
            $data = utils::addslashes_array($_POST);
            $replenishmentLib=kernel::single('purchase_replenishment');
            $res_msg=$replenishmentLib->sendReplenishmentAX($data);
            echo $res_msg;
        } catch (Exception $e) {
            echo $e->getMessage();
        }
        exit;
    }
}